<template>
    <div>
        <el-form-item label="显示类型">
            <el-select v-model="data.options.type">
                <el-option value="date">年月日</el-option>
                <el-option value="year-month">年月</el-option>
                <el-option value="datetime">年月日时分秒</el-option>
                <el-option value="time">时分</el-option>
            </el-select>
        </el-form-item>
        <el-form-item label="格式">
            <el-input v-model="data.options.format"/>
        </el-form-item>
    </div>
</template>
<script>
export default {
    name: 'FormDatetime',
    props: {
        data: {
            type: Object
        }
    }
}
</script>
